const GrantObj = {
    '2': {
        name: "基础信息管理",
        list: [
            {
                id: "2-1",
                name: "人事档案",
                path: "/baseinfo/empinfo",
                select: false,
                getemployeelist: { name: "查询列表", apiUrl: "/index.php/app/employee/find", select: false, },
                deleteemployee: { name: "删除", apiUrl: "/index.php/app/employee/delete", select: false, },
                excelimportemployee: { name: "Excel导入", apiUrl: "/index.php/app/employee/excelimport", select: false, },
                addbtn: { name: "新增按钮", apiUrl: "", select: false, },
                batchdel: { name: "批量删除", apiUrl: "", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "2-1-1",
                name: "人事档案详情",
                path: "/baseinfo/empinfo/empinfodetail",
                select: false,
                getemployeedetail: { name: "查询详情", apiUrl: "/index.php/app/employee/finddetail", select: false, },
                saveemployee: { name: "保存", apiUrl: "/index.php/app/employee/save", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "2-2",
                name: "部门档案",
                path: "/baseinfo/deptinfo",
                select: false,
                getdeptlist: { name: "查询列表", apiUrl: "/index.php/app/dept/find", select: false, },
                savedept: { name: "保存", apiUrl: "/index.php/app/dept/save", select: false, },
                deletedept: { name: "删除", apiUrl: "/index.php/app/dept/delete", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "2-3",
                name: "组织机构",
                path: "/baseinfo/channelinfo",
                select: false,
                getchannellist: { name: "查询列表", apiUrl: "/index.php/app/channel/find", select: false, },
                savechannel: { name: "保存", apiUrl: "/index.php/app/channel/save", select: false, },
                deletechannel: { name: "删除", apiUrl: "/index.php/app/channel/delete", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            }
        ]
    },
    '3': {
        name: "系统设置",
        list: [
            {
                id: "3-1",
                name: "系统参数",
                path: "/systemsetting/systemparam",
                select: false,
            },
            {
                id: "3-2",
                name: "系统设置",
                path: "/systemsetting/systemsetting",
                select: false,
            }
        ]
    },
    '4': {
        name: "用户管理",
        list: [
            {
                id: "4-1",
                name: "角色管理",
                path: "/userset/role",
                getUsrGroup: { name: "查询列表", apiUrl: "/index.php/app/UsrGroup/find", select: false, },
                saveUsrGroup: { name: "保存", apiUrl: "/index.php/app/UsrGroup/save", select: false, },
                deleteUsrGroup: { name: "删除", apiUrl: "/index.php/app/UsrGroup/delete", select: false, },
                excelimportUsrGroup: { name: "Excel导入", apiUrl: "/index.php/app/UsrGroup/excelimport", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "4-2",
                name: "用户管理",
                path: "/userset/user",
                getUserList: { name: "查询列表", apiUrl: "/index.php/app/user/find", select: false, },
                changeUserInfo: { name: "保存", apiUrl: "/index.php/app/user/save", select: false, },
                deleteUserInfo: { name: "删除", apiUrl: "/index.php/app/user/delete", select: false, },
                Setchannel: { name: "切换组织", apiUrl: "/index.php/app/user/Setchannel", select: false, },
                changePassword: { name: "修改密码", apiUrl: "/index.php/app/user/changePassword", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "4-3",
                name: "操作日志",
                path: "/userset/operatelog",
                getoperatelog: { name: "查询列表", apiUrl: "/index.php/app/UseLog/find", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            },
            {
                id: "4-4",
                name: "登录日志",
                path: "/userset/loginlog",
                getloginlog: { name: "查询列表", apiUrl: "/index.php/app/Logfile/find", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },

            },
            {
                id: "4-5",
                name: "用户审批",
                path: "/userset/userapproval",
                getuserapply: { name: "查询列表", apiUrl: "/index.php/app/Userapply/find", select: false, },
                userapplyhandle: { name: "审批操作", apiUrl: "/index.php/app/Userapply/handle", select: false, },
                userapplydelete: { name: "删除", apiUrl: "/index.php/app/Userapply/delete", select: false, },
                excelout: { name: "Excel导出", apiUrl: "", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
            }
        ]
    },
    '5': {
        name: "功能管理",
        list: [
            {
                id: "5-1",
                name: "自定义页面",
                path: "/functionset/customsizepage",
            },
            {
                id: "5-2",
                name: "自定义页面设置",
                path: "/functionset/customsizepageset",
            },
            {
                id: "5-3",
                name: "权限管理",
                path: "/functionset/permissionset",
                Grantfindlist: { name: "查询列表", apiUrl: "/index.php/app/Grantfunction/findlist", select: false, },
                Grantsave: { name: "修改", apiUrl: "/index.php/app/Grantfunction/save", select: false, },
            },
            {
                id: "5-4",
                name: "菜单设置",
                path: "/functionset/menuset",
                Menufindlist: { name: "查询列表", apiUrl: "/index.php/app/CustomMenu/findlist", select: false, },
                Menufinddetail: { name: "查询详情", apiUrl: "/index.php/app/CustomMenu/finddetail", select: false, },
                Menusave: { name: "保存", apiUrl: "/index.php/app/CustomMenu/save", select: false, },
                Menudelete: { name: "删除", apiUrl: "/index.php/app/CustomMenu/delete", select: false, },
                Menuenablehandle: { name: "启用菜单", apiUrl: "/index.php/app/CustomMenu/enablehandle", select: false, },
                customset: { name: "自定义配置", apiUrl: "", select: false, },
                customset1: { name: "详情自定义配置", apiUrl: "", select: false, },
            }
        ]
    }
};

export {
    GrantObj
};